package com.chz.SupermarketMS.dao;

import com.chz.SupermarketMS.entities.Commodity;
import com.chz.SupermarketMS.entities.Head;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface HeadRepository extends CrudRepository<Head, Long> {
    @Override
    public List<Head> findAll();

    Head findByHeadId(long theId);


    //   Head findByHeadId(long theId);
}
